package cz.farin.mandelinka;

public enum Movement {
	TURN_LEFT,
	TURN_RIGHT,
	MOVE_FORWARD,
	MOVE_BACKWARD,
	NO_MOVE;
	
	public boolean isPositionChange() {
		return this == MOVE_BACKWARD || this == MOVE_FORWARD;
	}
	
	public boolean isTurn() {
		return this == TURN_LEFT || this == TURN_RIGHT;
	}
}
